@var head = {
	<title>人员管理-修改角色</title>
@};
@var content = {
	<div class="pd-20">
		<form action="${request.contextPath}/role/update.html?id=${role.id}" method="post" class="form form-horizontal" id="updateForm">
			<div class="row cl">
				<label class="form-label col-3"><span class="c-red">*</span>角色名：</label>
				<div class="formControls col-5">
					<input type="text" class="input-text" value="${role.displayname}" placeholder="输入角色名" id="roleName" name="roleName" datatype="*2-16" nullmsg="角色名不能为空">
				</div>
				<div class="col-4"> </div>
			</div>
			<div class="row cl">
				<label class="form-label col-3">是否启用：</label>
				<div class="formControls col-5"> <span class="select-box" style="width:150px;">
					<select class="select" name="roleEnable" size="1">
						@if(role.enable==false){
							<option value="0" selected>不可用</option>
						@}else{
							<option value="0">不可用</option>
						@}
						
						@if(role.enable==true){
							<option value="1" selected>可用</option>
						@}else{
							<option value="1">可用</option>
						@}				
					</select>
					</span> 
				</div>
			</div>
			<div class="row cl">
				<div class="col-9 col-offset-3">
					<input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
				</div>
			</div>
		</form>
	</div>
@};
@var js = {
	<script type="text/javascript" src="${request.contextPath}/lib/Validform/5.3.2/Validform.min.js"></script> 
	<script type="text/javascript" src="${request.contextPath}/js/jquery.form.js"></script>
	<script>
		$(document).ready(function () {
			validSubmitFormAndRefreshParent('updateForm');
		});
	</script>
@};
@include("/layout/layout.html",{head:head,content:content,js:js}){}